ACFWF\Models\Store_Credits\Checkout A

Total Complexity 69
Dependencies 9
Dependents 1
Total lines 671
Lines of code 318
Logical lines of code 152
Comment lines 252
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
ajax_redeem_store_credits()
A
46 9 37
redeem_store_credits()
A
44 6 52
display_order_review_paid_in_store_credits()
S
49 7 29
display_store_credits_checkout_redeem_form()
S
51 5 29
update_order_refunded_as_store_credits_labels()
S
58 6 14
display_order_review_store_credits_discount_total()
S
54 5 20
apply_store_credit_discount()
S
58 5 15
recalculate_order_totals_after_checkout_complete()
S
62 5 11
display_store_credits_discount_row()
S
51 3 29
deduct_store_credits_discount_from_balance()
S
50 3 28
_is_allow_store_credits()
S
60 4 13
get_cart_total_before_store_credit_discounts()
S
67 3 7
run()
S
59 2 13
initialize()
S
70 2 6
get_instance()
S
70 2 6
_get_store_credits_endpoint()
S
79 1 3
__construct()
S
70 1 6